package com.example.demo.entity;

public class Player {
    private String username;
    private int game_total_cnt;
    private int game_finish_total_cnt;
    private float aver_finish_time;
    private String register_time;

    public Player(String username, int game_total_cnt, int game_finish_total_cnt, float aver_finish_time, String register_time) {
        this.username = username;
        this.game_total_cnt = game_total_cnt;
        this.game_finish_total_cnt = game_finish_total_cnt;
        this.aver_finish_time = aver_finish_time;
        this.register_time = register_time;
    }

    public String getUsername() {
        return username;
    }

    public int getGame_total_cnt() {
        return game_total_cnt;
    }

    public int getGame_finish_total_cnt() {
        return game_finish_total_cnt;
    }

    public float getAver_finish_time() {
        return aver_finish_time;
    }

    public String getRegister_time() {
        return register_time;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public void setGame_total_cnt(int game_total_cnt) {
        this.game_total_cnt = game_total_cnt;
    }

    public void setGame_finish_total_cnt(int game_finish_total_cnt) {
        this.game_finish_total_cnt = game_finish_total_cnt;
    }

    public void setAver_finish_time(float aver_finish_time) {
        this.aver_finish_time = aver_finish_time;
    }

    public void setRegister_time(String register_time) {
        this.register_time = register_time;
    }

    @Override
    public String toString() {
        return "Player{" +
                "username='" + username + '\'' +
                ", game_total_cnt=" + game_total_cnt +
                ", game_finish_total_cnt=" + game_finish_total_cnt +
                ", aver_finish_time=" + aver_finish_time +
                ", register_time='" + register_time + '\'' +
                '}';
    }
}
